package com.hzbat.service.impl;  																		  

import java.util.List;																					
import org.slf4j.Logger;																				
import org.slf4j.LoggerFactory;																			
import org.springframework.beans.factory.annotation.Autowired;											
import org.springframework.stereotype.Service;															

import com.hzbat.dao.PmHzbatScheduleMapper;																		
import com.hzbat.entity.PmHzbatSchedule;																	
import com.hzbat.service.PmHzbatScheduleService;																	
import com.github.pagehelper.PageInfo;																	
		
@Service("pmHzbatScheduleServiceImpl")																	
public class PmHzbatScheduleServiceImpl extends BasicServiceImpl<PmHzbatSchedule> implements PmHzbatScheduleService{	
		private static Logger logger = LoggerFactory.getLogger(PmHzbatScheduleServiceImpl.class);				  

		@Autowired																							
		PmHzbatScheduleMapper pmHzbatScheduleMapper ;																  

		@Override																							
		public List<PmHzbatSchedule> getList(PmHzbatSchedule pmHzbatSchedule) {									
			logger.info("查询用户列表");																		
			List<PmHzbatSchedule> u = pmHzbatScheduleMapper.getList(pmHzbatSchedule);								
			return u;																						
		}																								  

		@Override																							
		public PmHzbatSchedule get(PmHzbatSchedule pmHzbatSchedule) {											
			PmHzbatSchedule u = pmHzbatScheduleMapper.get(pmHzbatSchedule);											
			return u;																						
		}																								  

		@Override																							
		public void add(PmHzbatSchedule pmHzbatSchedule) {														
			pmHzbatScheduleMapper.add(pmHzbatSchedule);															
		}																								  

		@Override																							
		public void update(PmHzbatSchedule pmHzbatSchedule) {													
			pmHzbatScheduleMapper.update(pmHzbatSchedule);															
		}																								  

		@Override																							
		public void delete(PmHzbatSchedule pmHzbatSchedule) {													
			pmHzbatScheduleMapper.delete(pmHzbatSchedule);															
		}																								  

		@Override																							
		public PageInfo<PmHzbatSchedule> getPage(PmHzbatSchedule pmHzbatSchedule) {								
			return getPage(pmHzbatSchedule.getPageNum(),pmHzbatSchedule.getPageSize(),pmHzbatSchedule);		
		}																									
}																									  


